GXGetShapeInk
You can use theGXGetShapeInk
function to determine the ink object associated with a shape object.
gxInk GXGetShapeInk(gxShape source);
source
- A reference to the shape whose ink object is to be determined.
- function result
- A reference to the ink object associated with the source shape object.
ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory shape_is_nil SEE ALSO
The relationship of ink objects to QuickDraw GX shapes is discussed in "About QuickDraw GX Shapes" beginning on page 2-5. Ink objects themselves are further discussed in the chapter "Ink Objects" in this book.To change the ink object associated with a QuickDraw GX shape, use the
GXSetShapeInk
function, described in the next section.